﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Milo.Eg.Domain
{
    public class Customer
    {
        public string Code { get; set; }
        public Person Person { get; set; }
        public Address InvoiceAddress { get; set; }
        public Address DeliveryAddress { get; set; }
		public IList<Order> Orders { get; set; }
		//TODO: would be nice to get it working for arrays too
		public IList<decimal> Last3Years { get; set; }

        public override string ToString()
        {
            return Person.ToString();
        }
    }
}
